﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JoyxyAnalyzer
{
    /// <summary>
    /// mogu_mogu_a001
    /// 00 00                                       - 未知      [不解析]
    /// 44 00                                       - 偏移位?   [正常解析]  U1
    /// 00 00                                       - 未知      [不解析]
    /// 0E                                          - 长度      [正常解析]
    /// 6D 6F 67 75 5F 6D 6F 67 75 5F 61 30 30 31   - 元素名    [正常解析]
    /// 4E                                          - 未知      [正常解析]  U2
    /// 00 00 00 00 00 00 00                        - 未知      [不解析]
    /// 7D 00 00 00                                 - X坐标     [倒序解析]
    /// 00 00 00 00                                 - 未知      [不解析]
    /// 96 01 00 00                                 - Y坐标     [倒序解析]
    /// 59 00 00 00                                 - 未知      [倒序解析]  U3
    /// 00 00 00 00                                 - 未知      [不解析]
    /// 43 00 00 00                                 - 未知      [倒序解析]  U4
    /// 64 00 00 00                                 - 未知      [倒序解析]  U5
    /// 64 00 00 00                                 - 未知      [倒序解析]  U6
    /// 00 00 00 00                                 - 未知      [不解析]
    /// 02 00 00 00                                 - 未知      [倒序解析]  U7
    /// 32 00 00 00                                 - 未知      [倒序解析]  U8
    /// 01                                          - 未知      [正常解析]  U9
    /// FF FF FF FF                                 - 未知      [正常解析]  U10 // 字节长度不固定, 留到最后解析
    /// 02 05                                       - 元素编号  [倒序解析]
    /// </summary>
    public class ItemEntity
    {
        /// <summary>
        /// 
        /// </summary>
        private string _itemHex;
        public string ItemHex
        {
            get { return _itemHex; }
            set { _itemHex = value; }
        }

        /// <summary>
        /// 元素名长度
        /// </summary>
        private string _itemNameLen;
        public string ItemNameLen
        {
            get { return _itemNameLen; }
            set { _itemNameLen = value; }
        }

        /// <summary>
        /// 元素名
        /// </summary>
        private string _itemName;
        public string ItemName
        {
            get { return _itemName; }
            set { _itemName = value; }
        }

        /// <summary>
        /// 元素编号
        /// </summary>
        private string _itemNo;
        public string ItemNo
        {
            get { return _itemNo; }
            set { _itemNo = value; }
        }

        /// <summary>
        /// 元素X坐标
        /// </summary>
        private string _itemX;
        public string ItemX
        {
            get { return _itemX; }
            set { _itemX = value; }
        }

        /// <summary>
        /// 元素Y坐标
        /// </summary>
        private string _itemY;
        public string ItemY
        {
            get { return _itemY; }
            set { _itemY = value; }
        }

        /// <summary>
        /// 未知编号 - 偏移位?
        /// </summary>
        private string _unknowFragment1;
        public string UnknowFragment1
        {
            get { return _unknowFragment1; }
            set { _unknowFragment1 = value; }
        }

        /// <summary>
        /// 未知编号 
        /// </summary>
        private string _unknowFragment2;
        public string UnknowFragment2
        {
            get { return _unknowFragment2; }
            set { _unknowFragment2 = value; }
        }

        /// <summary>
        /// 未知编号 
        /// </summary>
        private string _unknowFragment3;
        public string UnknowFragment3
        {
            get { return _unknowFragment3; }
            set { _unknowFragment3 = value; }
        }

        /// <summary>
        /// 未知编号 
        /// </summary>
        private string _unknowFragment4;
        public string UnknowFragment4
        {
            get { return _unknowFragment4; }
            set { _unknowFragment4 = value; }
        }

        /// <summary>
        /// 未知编号 
        /// </summary>
        private string _unknowFragment5;
        public string UnknowFragment5
        {
            get { return _unknowFragment5; }
            set { _unknowFragment5 = value; }
        }

        /// <summary>
        /// 未知编号 
        /// </summary>
        private string _unknowFragment6;
        public string UnknowFragment6
        {
            get { return _unknowFragment6; }
            set { _unknowFragment6 = value; }
        }

        /// <summary>
        /// 未知编号 
        /// </summary>
        private string _unknowFragment7;
        public string UnknowFragment7
        {
            get { return _unknowFragment7; }
            set { _unknowFragment7 = value; }
        }

        /// <summary>
        /// 未知编号 
        /// </summary>
        private string _unknowFragment8;
        public string UnknowFragment8
        {
            get { return _unknowFragment8; }
            set { _unknowFragment8 = value; }
        }

        /// <summary>
        /// 未知编号 
        /// </summary>
        private string _unknowFragment9;
        public string UnknowFragment9
        {
            get { return _unknowFragment9; }
            set { _unknowFragment9 = value; }
        }

        /// <summary>
        /// 未知编号 
        /// </summary>
        private string _unknowFragment10;
        public string UnknowFragment10
        {
            get { return _unknowFragment10; }
            set { _unknowFragment10 = value; }
        }
    }
}
